package com.examine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 审批流程表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_examine")
@ApiModel(value = "CrmExamine对象", description = "审批流程表")
public class CrmExamine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "examine_id", type = IdType.AUTO)
    private Integer examineId;

    @ApiModelProperty("1 合同 2 回款 3发票 4薪资 5 采购审核 6采购退货审核 7销售审核 8 销售退货审核 9付款单审核10 回款单审核11盘点审核12调拨审核")
    @TableField("category_type")
    private Integer categoryType;

    @ApiModelProperty("审核类型 1 固定审批 2 授权审批")
    @TableField("examine_type")
    private Integer examineType;

    @ApiModelProperty("审批流名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("部门ID（0为全部）")
    @TableField("dept_ids")
    private String deptIds;

    @ApiModelProperty("员工ID")
    @TableField("user_ids")
    private String userIds;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    @TableField("create_user_id")
    private Long createUserId;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("修改人")
    @TableField("update_user_id")
    private Long updateUserId;

    @ApiModelProperty("状态 1 启用 0 禁用 2 删除")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("流程说明")
    @TableField("remarks")
    private String remarks;


}
